package com.yonyougov.devops.cruxcisupport.appenv.dto.port;

import com.yonyougov.devops.fwc.api.dto.BaseRequestDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * 获取某个环境某个应用对外的映射端口的请求参数
 */
@ApiModel(value = "根据环境名称，应用名称，获取端口映射")
@Data
public class MappingPortRequestDto extends BaseRequestDto {
    @ApiModelProperty(required = true, value = "环境名称")
    @NotEmpty
    private String envName;

    @ApiModelProperty(required = true, value = "应用名称")
    @NotEmpty
    private String appName;
}
